home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / initramfs-tools / hooks / sdmem < prev    next >
Encoding:
Text File  |  2013-01-06  |  336 b   |  25 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # FIXME: what is this used for? dependency-based hooks ordering?
  6. PREREQ=""
  7.  
  8. prereqs() {
  9.    echo "${PREREQ}"
  10. }
  11.  
  12. case "${1}" in
  13.    prereqs)
  14.       prereqs
  15.       exit 0
  16.       ;;
  17. esac
  18.  
  19. . /usr/share/initramfs-tools/hook-functions
  20.  
  21. copy_exec /sbin/halt
  22. copy_exec /sbin/reboot
  23. copy_exec /usr/bin/sdmem
  24. copy_exec /usr/bin/seq
  25.